package com.dmcloud.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dmcloud.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaodao
 * @since 2019-10-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dept")
public class SysDept extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 商户id
     */
    private String tenantId;

    /**
     * 上级的id
     */
    private String parentId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 部门层级
     */
    private String level;



}
